package router

import (
	"gitee.com/yangguoliang001/go-gin-vue3/controller/install"
	_type "gitee.com/yangguoliang001/go-gin-vue3/type"
)

func setInstallRouter(resource *_type.Resource) {
	installHandler := install.New()

	//	无需权限验证
	installGroup := resource.R.Group("")
	{
		installGroup.GET("/install", installHandler.Install())
		installGroup.POST("/install/execute", installHandler.Execute())
	}
}
